Image processing apparatus

ABSTRACT

An image processing apparatus includes: a volatile storage device; a hardware processor that executes an information process using the volatile storage device; and a nonvolatile storage device that stores data to be used for the information process, wherein in response to a condition that makes it impossible to continue the information process being satisfied while the information process is being executed, the hardware processor generates a snapshot of the volatile storage device and stores the snapshot in an area of the nonvolatile storage device having a use other than snapshot storage, and in response to a condition that makes it possible to resume the information process being satisfied, the hardware processor reads the snapshot from the nonvolatile storage device and resumes the information process.

The entire disclosure of Japanese patent Application No. 2018-059886,filed on Mar. 27, 2018, is incorporated herein by reference in itsentirety.

BACKGROUND Technological Field

The present disclosure relates to a technique for promptly reproducingthe operation state of an image processing apparatus by generating asnapshot of data, of a primary storage device, storing the snapshot in anonvolatile memory, and expanding the snapshot in the primary storagedevice.

Description of the Related Art

Image processing apparatuses such as multi-functional peripheral (MFP)have acquired multiple functions and now are enable to execute manytypes of processes in addition to print jobs. While executing a printjob, an image processing apparatus is unlikely to be turned off andbecome unable to execute the job. While executing other types ofprocesses, however, the image processing apparatus is more liable to getinto such a situation. In particular, from the viewpoint of powersaving, it is desirable to avoid supplying much power to the imageprocessing apparatus only for processes that need not be executed in ahurry.

In view of such a background, an image processing apparatus having ahibernation function has been proposed. For example, JP 2014-13543 A hasproposed a technique for making effective use of both an overwriteerasing function mid a hibernation function of an image formingapparatus.

The proposed technique includes, as an exemplary hibernation function,storing data of a primary storage device such as a random access memory(RAM) in a nonvolatile memory as a snapshot when a process isinterrupted in the image processing apparatus. According to thistechnique, the operation state of the image processing apparatus issaved in a short time. As a result, even after the image processingapparatus is unexpectedly turned off and suddenly interrupts itsprocess, the state of the image processing apparatus at that time can bereproduced. Snapshots are used to make it possible to read the operationstate in a short time, which enables high-speed activation.

In the case of using snapshots, in general, a snapshot area needs to besecured in the nonvolatile memory. This causes the following problem:the capacity of the nonvolatile memory required by the image processingapparatus is increased, and the cost of manufacturing the imageprocessing apparatus is increased.

SUMMARY

The present disclosure has been made in view of the above circumstances,and an object thereof is to provide an image processing apparatuscapable of utilizing reproduction of an operation state using a snapshotwhile avoiding an increase in manufacturing cost.

To achieve the abovementioned object, according to an aspect of thepresent invention, an image processing apparatus reflecting one aspectof the present invention comprises: a volatile storage device; ahardware processor that executes an information process using thevolatile storage device; and a nonvolatile storage device that storesdata to be used for the information process, wherein in response to acondition that makes it impossible to continue the information processbeing satisfied while the information process is being executed, thehardware processor generates a snapshot of the volatile storage deviceand stores the snapshot in an area of the nonvolatile storage devicehaving a use other than snapshot storage, and in response to a conditionthat makes it possible to resume the information process beingsatisfied, the hardware processor reads the snapshot from thenonvolatile storage device and resumes the information process.

BRIEF DESCRIPTION OF THE DRAWINGS

The advantages and features provided by one or more embodiments of theinvention will become more fully understood from the detaileddescription given hereinbelow and the appended drawings which are givenby way of illustration only, and thus are not intended as a definitionof the limits of the present invention:

FIG. 1 is a diagram illustrating an appearance of an image processingapparatus;

FIG. 2 is a diagram illustrating an exemplary hardware configuration ofthe image processing apparatus;

FIG. 3 is a diagram illustrating an example of use of a storage area ofa RAM;

FIG. 4 is a diagram for explaining a first example of use of a storagearea of a nonvolatile memory;

FIG. 5 is a diagram for explaining the first example of use of thestorage area of the nonvolatile memory;

FIG. 6 is a diagram for explaining the first example of use of thestorage area of the nonvolatile memory;

FIG. 7 is a diagram for explaining a second example of use of thestorage area of the nonvolatile memory;

FIG. 8 is a diagram for explaining a third example of use of the storagearea of the nonvolatile memory;

FIG. 9 is a flowchart of an example process executed by a CPU forcausing the image processing apparatus to make the transition from thenormal mode to the power saving mode;

FIG. 10 is a flowchart of an example process executed for causing theimage processing apparatus to return from the power saving mode to thenormal mode;

FIG. 11 is a diagram for explaining an example of an information processexecuted by the image processing apparatus;

FIG. 12 is a diagram illustrating an example of a subroutine of step412;

FIG. 13 is a diagram for explaining another example of an informationprocess executed by the image processing apparatus;

FIG. 14 is a diagram illustrating an example of a subroutine of stepS12;

FIG. 15 is a diagram for explaining another example of an informationprocess executed by the image processing apparatus;

FIG. 16 is an example of a subroutine process of step S12 in FIG. 9executed for retransmission;

FIG. 17 is a diagram for describing an exemplary configuration of asystem that transmits a message with image data by i-FAX;

FIG. 18 is a diagram for transmitting information that each of aplurality of TIFF files is attached to one of a plurality of e-mails fortransmission;

FIG. 19 is a diagram for transmitting information that one TIFF file isattached to one e-mail for transmission;

FIG. 20 is a diagram for explaining another example of an informationprocess executed by the image processing apparatus;

FIG. 21 is an example of a subroutine process of step 412 in FIG. 9which is performed when a condition for transition to the power savingmode is satisfied during the execution of “forced memory reception”;

FIG. 22 is a diagram for explaining another example of an informationprocess executed by the image processing apparatus;

FIG. 23 is a diagram illustrating an example of a subroutine process ofstep S12 in FIG. 9;

FIG. 24 is a diagram for explaining another example of an informationprocess executed by the image processing apparatus;

FIG. 25 is a record of a virus scan log in an HDD;

FIG. 26 is a diagram illustrating an example of a subroutine process ofstep S12 in FIG. 9;

FIG. 27 is a diagram for explaining another example of an informationprocess executed by the image processing apparatus;

FIG. 28 is a diagram illustrating an example of a subroutine process ofstep S12 in FIG. 9;

FIG. 29 is a diagram illustrating an example of a screen for acceptingthe setting of the priority order between information processcontinuation and snapshot generation;

FIG. 30 is a diagram illustrating an example of a subroutine process ofstep S12 in FIG. 9;

FIG. 31 is a diagram illustrating an exemplary configuration of a systemthat implements ubiquitous printing;

FIG. 32 is an example of information representing the configuration ofeach group;

FIG. 33 is a diagram illustrating a display example of a list of files;

FIG. 34 is a diagram illustrating an example of a file (document) outputflow in the ubiquitous printing system illustrated in FIG. 31;

FIG. 35 is a diagram illustrating an example of a subroutine process ofstep S12 in FIG. 9;

FIG. 36 is a diagram illustrating an example of a subroutine process ofstep S12 in FIG. 9;

FIG. 37 is a diagram illustrating an example of a subroutine process ofstep S12 in FIG. 9;

FIG. 38 is a diagram illustrating an example of a system in which theimage processing apparatus is used;

FIG. 39 is a diagram illustrating an example of a subroutine process ofstep S12 in FIG. 9;

FIG. 40 is a diagram illustrating an exemplary configuration of a systemin which the image processing apparatus is used;

FIG. 41 is a diagram illustrating an example of a subroutine process ofstep S12 in FIG. 9; and

FIG. 42 is a diagram illustrating an example of a subroutine process ofstep S12 in FIG. 9.

DETAILED DESCRIPTION OF EMBODIMENTS

Hereinafter, one or more embodiments of the present invention will bedescribed with reference to the drawings. However, the scope of theinvention is not limited to the disclosed embodiments. In the followingdescription, identical parts and components are denoted by the samereference signs. Their names and functions are also the same. Therefore,these explanations will not be repeated.

1. Appearance of Image Processing Apparatus

FIG. 1 is a diagram illustrating an appearance of an image processingapparatus.

With reference to FIG. 1, the image processing apparatus 1 isimplemented by, for example, an MFP. The image processing apparatus 1includes a document conveyer 11 and a scanner 12 on the upper partthereof. The scanner 12 is an example of a document reading device. Thedocument conveyer 11 automatically conveys documents one by one to thescanner 12. The scanner 12 optically reads characters, symbols, images,and the like recorded on each conveyed document.

A printer 13 is provided below the scanner 12, and a paper feeder 14 forsupplying paper to the printer 13 is provided below the printer 13. Theprinter 13 functions to execute a job relating to copying, networkprinter, or fax transmission/reception, forms an image on a sheetsupplied from the paper feeder 14, and outputs the print from adischarge port 19.

The printer 13 forms an image using, for example, an electrophotographicmethod. In the printer 13, after an electrostatic latent image is formedon a photoconductor, a toner image is formed on the photoconductor. Thetoner image is transferred onto an intermediate transfer belt and thentransferred onto a sheet. The toner image on the sheet is fixed by beingheated and pressed by a fixing device.

On the front side of the image processing apparatus 1, a controller unitincluding a display 15 and an operation part 18 is provided. The display15 displays information about a job and other items of information tothe user, and is implemented by, for example, a liquid crystal display.The operation part 18 includes a touch panel 16 arranged on the frontside of the display 15 and one or more operation buttons 17 arrangednear the display 15.

2. Configuration of Image Processing Apparatus

FIG. 2 is a diagram illustrating an exemplary hardware configuration ofthe image processing apparatus.

In addition to the configuration illustrated in FIG. 1, the imageprocessing apparatus 1 includes a central processing unit (CPU) 20, aread only memory (ROM) 21, a RAM 22, a nonvolatile memory 23, a harddisk drive (HDD) 24, and a communication interface 25. By reading andexecuting the program stored in the ROM 21 on the RAM 22, the CPU 20implements basic functions (copying, network printer, scanner, facsimile(hereinafter referred to as FAX) document transmission/reception, etc.)as the image processing apparatus.

The communication interface 25 is an interface for communicating withexternal devices such as data communication with an informationprocessing apparatus such as a server or a personal computer (PC) via anetwork and FAX document transmission/reception via a telephone line. Asthe communication interface 25, for example, a network interface card(NIC), a modem, a terminal adapter (TA), wireless communication, or thelike is used.

The program stored in the ROM 21 can be updated to the latest versionprogram by downloading it from an external device via a network or thelike.

The image processing apparatus 1 can operate in the normal mode and thepower saving mode. In the normal mode, power is supplied to all theelements illustrated in FIG. 1. In the power saving mode, power issupplied only to a sub CPU 26, and power supply to the elements otherthan the sub CPU 26 such as the CPU 20 and the ROM 21 is cut off.

When a condition for transition from the normal mode to the power savingmode is satisfied, the CPU 20 instructs the sub CPU 26 to operate in thepower saving mode, and stops power supply to the elements such as theCPU 20. In the power saving mode, the sub CPU 26 executes an operationsuch as a proxy response. When a condition for transition from the powersaving mode to the normal mode is satisfied, the sub CPU 26 instructsthe CPU 20 to start up. As a result, the CPU 20 is activated, and theimage processing apparatus 1 operates in the normal mode.

3. Example of Use of RAM

FIG. 3 is a diagram illustrating an example of use of a storage area ofthe RAM 22.

In one example, a program area 22A, a data area 22B, a stack area 22C, aheap area 22D, and a shared memory area 22E are set in the RAM 22.

In the program area 22A, a compiled program is saved. The CPU 20operates based on the logic of this program.

In the data area 22B, variable data such as arrays are saved. In thestack area 22C, context data of each task are saved. In the heap area22D, dynamically secured variable data are saved. In the shared memoryarea 22E, shared variable data handled as data shared by each task aresaved.

4. Example of Use of Nonvolatile Memory First Example of Use

FIGS. 4 to 6 are diagrams for explaining a first example of use of astorage area of the nonvolatile memory 23.

As illustrated in FIG. 4, an image area 23A, a set value area 23B, anaudio/video area 23C, a language message area 23D, an image save area23E, and a snapshot dedicated area 23F are set in the nonvolatile memory23.

In the image area 23A, image data, read by the scanner 12, image datagenerated by raster image processing (RIP) on page description language(PDL) data acquired upon receiving a print job, and/or binary image dataacquired by reception through FAX communication are saved. In the setvalue area 23B, the value set in the operation part 18 is saved. Audiodata and content data of video guidance upon JAM occurrence are saved inthe audio/video area 23C. Messages (including multiple languages) to bedisplayed on the panel are saved in the language message area 23D.Intermediate buffers are temporarily stored in the image save area 23Ewhen a large number of intermediate buffers are generated in the RIPprocessing for PDL data. Each of the image area 23A, the set value area23B, the audio/video area 23C, the language message area 23D, and theimage save area 23E is an example of an area having a use other thansnapshot storage.

The snapshot dedicated area 23F is an example of an area that is setseparately from the image area 23A. the set value area 23B, theaudio/video area 23C, the language message area 23D, and the image savearea 23E to be used only for snapshot storage. A snapshot of the RAM 22is stored in the snapshot dedicated area 23F. In one example, whenmaking the transition to the power saving mode, the CPU 20 generates asnapshot of the RAM 22 and stores the snapshot in the snapshot dedicatedarea 23F. If the snapshot dedicated area 23F contains a snapshot at thetime of activation, the CPU 20 expands the snapshot in the RAM 22. As aresult, the image processing apparatus 1 resumes the operation at highspeed in the manner stored at the time of transition to the power savingmode.

With reference to FIGS. 5 and 6, the flow of image data during jobexecution in the nonvolatile memory 23 will be described.

When the image processing apparatus 1 executes a print job, the CPU 20stores the image data included in the job transmitted from a PC or thelike in the image area 23A (FIG. 5) and instructs the printer 13. Whenthe image formation of the image data by the printer 13 is completed,the part of the image area 23A it) which the image data have been storedbecomes a used area (FIG. 6). In FIG. 6, the used area is illustrated asan area 23X.

In the nonvolatile memory 23, an area that stores information formanaging areas in use and used areas in the image area 23A is set. Thisarea is omitted from FIGS. 4 to 6.

When the image processing apparatus 1 executes a box saving process, theCPU 20 stores the image data generated by the scanner 12 in the imagearea 23A (FIG. 5) and transfers the image data to another device or abox (storage area in the HDD 24). When the transfer is completed, thepart of the image area 23A in which the image data have been storedbecomes a used area (FIG. 6).

When the image processing apparatus 1 executes a FAX reception job, theCPU 20 stores the image data received by the FAX communication in theimage area 23A (FIG. 5). Thereafter, in accordance with the settings inthe job, the CPU 20 instructs the printer 13 to print the image data inthe image area 23A and/or transfers the image data to another device ora box. When the transfer is completed, the part of the image area 23A inwhich the image data have been stored becomes a used area (FIG. 6).

When the image processing apparatus 1 executes a FAX transmission job,the CPU 20 stores the image data generated by the scanner 12 in theimage area 23A (FIG. 5). Thereafter, in accordance with the settings inthe job, the image data stored in the image area 23A are transferred tothe apparatus designated as the destination. When the transfer iscompleted, the part of the image area 23A in which the image data havebeen stored becomes a used area (FIG. 6).

Second Example of Use

FIG. 7 is a diagram for explaining a second example of use of thestorage area of the nonvolatile memory 23.

In the example of FIG. 7, the area, set as the snapshot dedicated area23F in FIGS. 4 to 6 is set as a firmware (FW) download area 23G. The FWdownload area 23G is an example of a storage area used for informationprocesses relating to image processes.

In the FW download area 23G, FW data to be stored in the ROM and/or datafor updating FW data are temporarily saved. The FW download area 23G isused when FW and update data are downloaded via the network. In FIG. 7,the part of the image area 23A used for snapshot storage is illustratedas a snapshot area 23Y.

In the example of FIG. 7, the CPU 20 uses the used (or unused) area 23Xof the image area 23A for snapshot storage. More specifically, the CPU20 mounts the used area 23X of the image area 23A using a file system.As a result, a partition for snapshot storage is set in the area 23X.Thereafter, the CPU 20 stores the file of the snapshot in the area 23X.As a result, in contrast to the example of FIG. 4 and the like, the FWdownload area 23G can be set in the nonvolatile memory 23 withoutincreasing the capacity of the nonvolatile memory 23.

In the second example of use, the area (FW download area 23G) of thenonvolatile memory 23 having a use different from snapshot storage isalso used for snapshot storage. The FW download area 23G is anotherexample of an area having a use other than snapshot storage.

Third Example of Use

FIG. 8 is a diagram for explaining a third example of use of the storagearea of the nonvolatile memory 23.

The CPU 20 stores a snapshot in the area 23X if there is a continuousempty area with a size equal to or larger than the size of the snapshotas the used (or unused) area 23X in the image area 23A (FIG. 7). Ifthere is no such empty area in the area 23X, the CPU 20 may generate twoor more files as a snapshot and store each of the two or more files inone of a plurality of areas in the nonvolatile memory 23. The storage oftwo or more files will be described with reference to FIG. 8.

In the example of FIG. 8, the image area 23A and the FW download area23G are used for snapshot storage. More specifically, in response togenerating a snapshot, the CPU 20 determines whether the size of thesnapshot is equal to or less than the size of the area 23X in the imagearea 23A. When determining that the size of the snapshot exceeds thesize of the area 23X, the CPU 20 generates two or more files for thesnapshot, stores one of the two or more files in the area 23X, andstores the rest in another area in the nonvolatile memory 23.

In the example of FIG. 8, the snapshot is divided into a first snapshot23P and a second snapshot 23Q. The CPU 20 stores the first snapshot 23Pin the area 23X and stores the second snapshot 23Q in the FW downloadarea 23G. In the example of FIG. 8, the first snapshot 23P includes dataof the program area 22A and the data area 22B of the RAM 22. The secondsnapshot 23Q includes data of the stack area 22C, the heap area 22D, andthe shared memory area 22E. It is to be noted that the area dataincluded in each snapshot can be appropriately changed.

Instead of being generated as two or more files, a snapshot may begenerated as one file and then divided into two or more files.

5. Transition from Normal Mode to Power Saving Mode

FIG. 9 is a flowchart of an example process executed by the CPU 20 forcausing the image processing apparatus 1 to make the transition from thenormal mode to the power saving mode. The details of this process willbe described, with reference to FIG. 9.

In step S10, the CPU 20 determines whether a condition for transitionfrom the normal mode to the power saving mode is satisfied. A conditionfor transition to the power saving mode is an example of a conditionthat makes it impossible for the image processing apparatus 1 tocontinue the information process.

An example of a condition for transition is that the image processingapparatus 1 has remained unoperated for a certain period of time.Another example is that an operation for making the transition to thepower saving mode is performed on the operation part 18. The CPU 20repeats the control of step S10 at given intervals until it determinesthat a condition for transition is satisfied (NO in step S10), and ifdetermining that a condition for transition is satisfied, advances thecontrol to step S12 (YES in step S10).

In step S12, the CPU 20 performs a preparation for transition. Thedetails of the preparation for transition in step S12 will be describedlater with reference to FIG. 12 and the like.

In step S14, the CPU 20 changes the operation state of the imageprocessing apparatus 1 to the power saving mode. The transition to thepower saving mode includes an instruction for tire sub CPU 26 to operatein the power saving mode.

6. Return from Power Saving Mode to Normal Mode

FIG. 10 is a flowchart of an example process executed for causing theimage processing apparatus 1 to return from the power saving mode to thenormal mode. The details of this process will be described withreference to FIG. 10.

When a condition for return from the power saving mode to the normalmode is satisfied, the CPU 20 starts the process of FIG. 10. An exampleof a condition for return is the input of a return instruction to theoperation part 18 (for example, a button operation for power-on).Another example is the reception of an instruction for return to thenormal mode from the sub CPU 26. Still another example is the arrival ofa predetermined time for return.

In step S20, the CPU 20 performs an activation operation (for example,reads a given program). In step S22, the CPU 20 expands, in the RAM 22,the snapshot stored in the nonvolatile memory 23. In step S24, the CPU20 initializes each element in the image processing apparatus 1. Ifthere is no snapshot stored in the nonvolatile memory 23, the CPU 20skips the expansion of a snapshot or initializes the RAM 22 instead ofexpanding a snapshot.

In step S26, the CPU 20 unmounts the area in which the snapshot has beenstored in the nonvolatile memory 23. In step S28, the CPU 20 uses thecontent (the value of the data area 22B, the value of the stack area22C, etc.) expanded in the RAM 22 to resume the suspended process (imagelog transfer process and the like to be described later).

7. Specific Details of Preparation for Transition

Hereinafter, the specific details of the preparation for transition(step S12) in FIG. 9 will be described with reference to FIGS. 11 to 42.

<Preparation for Transition (1)>

FIG. 11 is a diagram for explaining an example of an information processexecuted by the image processing apparatus 1. FIG. 11 illustrates theimage processing apparatus 1 and an image log management server 2 withwhich the image processing apparatus 1 communicates through the network.In the example of FIG. 11, the image processing apparatus 1 transmits animage log of a copy job to the image log management server 2 as anexample of an information process. The image log is, for example, athumbnail image of the copied image.

For example, the user operates the operation part 18 to instruct theimage processing apparatus 1 to make three copies of a two-pagedocument. In response, the CPU 20 executes the copy job. Morespecifically, the CPU 20 causes the scanner 12 to scan the document andstores the image data of the two pages in the image area 23A. The CPU 20instructs the printer 13 to output the image data of the two pages threetimes.

When the output of the image data is completed, the CPU 20 furthertransmits an image log of the copy job to the image log managementserver 2. More specifically, the CPU 20 creates a thumbnail image fromthe image data of the two pages. The CPU 20 transmits the thumbnailimage as an image log to the image log management server 2.

FIG. 12 is a diagram illustrating an example of a subroutine of stepS12. In the subroutine in FIG. 12, the image area 23A is adopted as anarea for snapshot storage as described with reference to FIG. 6 and thelike. The details of the subroutine will be described, with reference toFIG. 12.

In step SAM), the CPU 20 determines whether the image processingapparatus 1 is executing the process for transmitting an image log(image log process). When determining that the image processingapparatus 1 is executing the image log process (YES in step SA100), theCPU 20 advances the control to step SA102. In other cases (NO in stepSA100), the CPU 20 advances the control to step S116. For example, whena condition for transition to the power saving mode is satisfied duringthe execution of the image log process, the CPU 20 advances the controlfrom step SA100 to step SA102.

In step SA116, the CPU 20 generates a snapshot of the RAM 22, andadvances the control to step SA118.

On the other hand, in step SA102, the CPU 20 determines whether theimage processing apparatus 1 is currently transmitting the generatedimage log to the image log management server 2. The image log processincludes the generation of an image log and the transmission of timeimage log. When determining that the image processing apparatus 1 istransmitting the image log (“transfer in progress” in step SA102), theCPU 20 executes the control of step SA102 at given intervals until thetransmission is completed. When determining that the image processingapparatus 1 is not transmitting the image log (“transfer completed” instep SA102), the CPU 20 advances the control to step SA104.

In step SA104, the CPU 20 suspends (interrupts) the process oftransmitting the image log (image log process).

In step SA106, the CPU 20 generates a snapshot of the RAM 22 andcalculates the size (capacity) of the snapshot.

In step SA108, the CPU 20 confirms the use status of the image area 23Aof the nonvolatile memory 23.

In step SA110, the CPU 20 calculates the sum of used areas and unusedareas of the image area 23A to acquire the size of a continuous emptyarea in the image area 23A.

In step SA112, the CPU 20 determines whether the size of time continuousempty area acquired in step SA110 is equal to or larger than time sizeof the snapshot. When determining that the size of the continuous emptyarea is equal to or larger than the size of the snapshot (YES in stepSA112), the CPU 20 advances the control to step SA118. In other cases(NO in step SA112), the CPU 20 advances the control to step SA114.

In step SA114, the CPU 20 resumes the image log process and advances thecontrol to step SA100.

In step SA118, the CPU 20 stores the snapshot in the nonvolatile memory23 and returns the process to FIG. 9. In step SA118, the snapshot isstored, for example, in a used or unused area in the image area 23A. Asdescribed with reference to FIG. 8, the snapshot may be generated as twoor more files, and each of the two or more files may be stored in one ofa plurality of areas in the nonvolatile memory 23.

In the process described with reference to FIG. 12, the CPU 20interrupts the image log process and makes the transition to the powersaving mode. Upon returning to the normal mode, the CPU 20 resumes theinterrupted image log process by expanding, in the RAM 22, the snapshotstored in the nonvolatile memory 23.

<Preparation for Transition (2)>

FIG. 13 is a diagram for explaining another example of an informationprocess executed by the image processing apparatus 1. In FIG. 13, asystem for implementing what is called ubiquitous printing is described.The configuration of the system will be described with reference to FIG.13.

The system includes image processing apparatuses 1A and 1B, a user's PC3, and a backup server 4. The image processing apparatus 1A functions asa storage machine that receives an instruction from the PC 3 and storesa file (document). The image processing apparatus 1B functions as aclient machine that acquires and outputs the file stored in the storagemachine.

The user transmits a print job from PC 3 to the image processingapparatus 1A. The image processing apparatus 1A stores the transmittedprint job in the HDD (HDD 24) in association with the user. By operatingthe image processing apparatus 1B, the user searches the imageprocessing apparatus 1A for the job list associated with the user. Theimage processing apparatus 1B acquires the job list by communicatingwith the image processing apparatus 1A and displays the job list on thedisplay 15 of the image processing apparatus 1B.

The user selects a desired job from the job list displayed on thedisplay 15 of the image processing apparatus 1B. In response to theselection, the image processing apparatus 1B requests the imageprocessing apparatus 1A to transfer the image data included in thedesired job. In response to the request, the image processing apparatus1A transfers the image data to the image processing apparatus 1B. Theimage processing apparatus 1B executes the job selected by the user byprinting the image data received from the image processing apparatus 1A.

FIG. 14 is a diagram illustrating an example of a subroutine of stepS12. FIG. 14 illustrates a process executed by the CPU 20 of the storagemachine (image processing apparatus 1A) in the system illustrated inFIG. 13. As an area for snapshot storage, the subroutine in FIG. 14 mayadopt the image area 23A as described with reference to FIG. 6 and thelike, an area, other than the image area 23A having another use, or asnapshot dedicated area as described with reference to FIG. 5 and thelike. The details of the subroutine will be described with reference toFIG. 14.

In step SA200, the CPU 20 determines whether the image processingapparatus 1A is currently transferring image data to the client machine(image processing apparatus 1B). When determining that the imageprocessing apparatus 1A is transferring image data (“transfer inprogress” in step SA200), the CPU 20 advances the control to step SA202.In other cases (“transfer completed” in step SA200), the CPU 20 advancesthe control to step SA210.

In step SA202, the CPU 20 calculates the expected completion time of thetransfer (remaining tune of the transfer) based on, for example, thecapacity of the image data being transferred, and determines whether thetime exceeds a predetermined time. When determining that the time iswithin the predetermined time (“transfer expected to be completed withinpredetermined time” in step SA202), the CPU 20 returns the control tostep SA200. In other cases (“exceed predetermined time” in step SA202),the CPU 20 advances the control to step SA204. As a result, when theimage data transfer is expected to be completed within the predeterminedtime based on the remaining time, the transfer of the image data iscontinued.

In step SA204, the CPU 20 determines whether a backup of the image dataidentical to the image data to be transferred is stored in anotherdevice in the network. In one example, the server in the networkdistributes, to each device in advance, a list of image data stored ineach device. By referring to the list, the CPU 20 implements thedetermination in step SA204. When determining that a backup of the imagedata exists in another device (“exist” in step SA204), the CPU 20advances the control to step SA206. In other cases (“not exist” in stepSA204), the CPU 20 returns the control to step SA200.

In step SA206, the CPU 20 requests the device that contains the imagedata to be transferred to transfer the image data to the client machine(image processing apparatus 1B).

In step SA208, the CPU 20 cancels the transfer of the image data.

In step SA210, the CPU 20 generates a snapshot of the RAM 22.

In step SA212, the CPU 20 stores the generated snapshot in thenonvolatile memory 23 and returns the process to FIG. 9.

According to the process of FIG. 14, the image processing apparatus 1cancels the transfer of image data and generates a snapshot.

<Preparation for Transition (3)>

FIG. 15 is a diagram for explaining another example of an informationprocess executed by the image processing apparatus 1. FIG. 15illustrates a communication system including the image processingapparatus 1 and a FAX telephone 5. The FAX telephone 5 is, for example,a FAX transceiver compliant with the G3_FAX standard. FIG. 15illustrates a state in which the FAX line between the image processingapparatus 1 and the FAX telephone 5 is temporarily disconnected.

As illustrated in FIG. 15, in the event that the line is disconnectedwhen the image processing apparatus 1 tries to transmit a FAX documentto the FAX telephone 5, the image processing apparatus 1 retransmits theFAX document. FIG. 16 is an example of a subroutine process of step S12in FIG. 9 executed for the retransmission. The details of this processwill be described with reference to FIG. 16.

In step SA300, the CPU 20 determines whether the image processingapparatus 1 is currently retransmitting the image data (FAX document).When determining that the FAX document is being retransmitted(“retransmission in progress” in step SA300), the CPU 20 advances thecontrol to step SA302. In other cases (“retransmission completed” instep SA300), the CPU 20 advances the control to step SA306.

In step SA302, the CPU 20 determines whether the degree of urgency ofthe FAX document transmission job being executed in the image processingapparatus 1 is high or low. In one example, the CPU 20 implements thedetermination in step SA302 by performing optical character recognition(OCR) on the document to be transmitted as a FAX document anddetermining whether the character string acquired in the OCR includes acharacter string indicating that the degree of urgency is high. Examplesof character strings indicating that the degree of urgency is highinclude, but are not limited to, “emergency”, “urgent”, “accidentreport”, “complaint response”, “delivery date”, and the like. In anotherexample, the CPU 20 implements the determination in step SA302 bydetermining whether the FAX number of the destination of the FAXdocument is registered in a given list as a predetermined emergencydestination. The list is stored in the HDD 21, for example. In stillanother example, the CPU 20 determines the degree of urgency bycombining the result of OCR and the destination. The CPU 20 maydetermine that the degree of urgency of the transmission job is highwhen the result of OCR includes any of the above character strings andthe destination is in the predetermined list. In other cases, the CPU 20may determine that the degree of urgency of the transmission job is low.

In step SA302, when determining that the degree of urgency of the FAXdocument transmission job is high (“high” in step SA302), the CPU 20returns the control to step SA300. In other cases (“low” in step SA302),the CPU 20 advances the control to step SA304.

In step SA304, the CPU 20 suspends the FAX document transmission job(image data transmission process).

In step SA306, the CPU 20 generates a snapshot of the RAM 22.

In step SA308, the CPU 20 stores the generated snapshot in thenonvolatile memory 23. Thereafter, the CPU 20 returns the process toFIG. 9.

In the process of FIG. 16, the CPU 20 continues executing the faxtransmission process or suspends (interrupts) the process and generatesa snapshot, depending on whether the degree of importance of the FAXdocument transmission job being executed is high. In the example of FIG.16, the degree of urgency is adopted as au example degree of importance.Once the snapshot is used, the FAX document transmission job is resumedfrom the interrupted page.

(Transmission of Document Containing Multiple Pages)

The process in FIG. 16 can also be applied to the transmission of amessage with image data such as Internet fax (i-FAX). FIG. 17 is adiagram for describing an exemplary configuration of a system thattransmits a message with image data by i-FAX.

The system illustrated in FIG. 17 includes the image processingapparatus 1, an e-mail server 5A, and a FAX telephone 5B. The FAXtelephone 5B has a function of transmitting and receiving a document viaInternet communication. The image processing apparatus 1 transmits, tothe e-mail server 5A, an e-mail containing a fax document as anattachment file. The e-mail server 5A transmits the received FAXdocument to the FAX telephone 5 through the FAX line. The FAX telephone5B outputs the FAX document attached to the received e-mail.

In a case where the FAX document includes images of a plurality ofpages, the image processing apparatus 1 accepts the setting as towhether to transmit the images of the plurality of pages as one TIFFfile or as TIFF files for the respective pages. For example, the CPU 20displays a screen 1700 on the display 15 and accepts designation fromthe user. The screen 1700 includes two buttons 1701 and 1702.

When the button 1701 is operated, a TIFF file for each page isgenerated, and each TIFF file is transmitted from the image processingapparatus 1 to the e-mail server 5A. FIG. 18 is a diagram fortransmitting information that each of a plurality of TIFF files isattached to one of a plurality of e-mails for transmission. In FIG. 18,three TIFF files AT1, AT2, and AT3 are attached to three messages M1,M2, and M3, respectively.

When the button 1702 is operated, one TIFF file including a plurality ofimages is generated, and the one TIFF file is attached to one e-mail andtransmitted from the image processing apparatus 1 to the e-mail server5A. FIG. 19 is a diagram for transmitting information that one TIFF fileis attached to one e-mail for transmission. In FIG. 19, one TIFF fileAT10 is attached to one message M10. The TIFF file AT10 may includeimages of a plurality of pages. As a result, images of a plurality ofpages are collectively transmitted.

<Preparation for Transition (4)>

FIG. 20 is a diagram for explaining another example of an informationprocess executed by the image processing apparatus 1. The systemillustrated in FIG. 20 includes the image processing apparatus t and theFAX telephone 5. The image processing apparatus 1 stores a FAX documentreceived from the FAX telephone 5 in a special storage area set in theHDD 24. In the example of FIG. 20, an instruction to print is requiredfor printing a received FAX document, and the FAX document is notautomatically printed. The mode of receiving a FAX document at the imageprocessing apparatus 1 in the system illustrated in FIG. 20 is alsoreferred to as “forced memory reception”.

In one example, an instruction to print a FAX document received by“forced memory reception” is input by the users operation on theoperation part 18. In another example, such an instruction is input froman external device via the NIC 25. In this sense, one example of aninterface that accepts input of a print instruction is the operationpart 18, and another example is the NIC 25.

FIG. 21 is an example of a subroutine process of step S12 in FIG. 9which is performed when a condition for transition to the power savingmode is satisfied during the execution of “forced memory reception”. Thedetails of this process will be described with reference to FIG. 21.

In step SA400, the CPU 20 determines whether a FAX document is beingreceived by “forced memory reception”. When determining that a FAXdocument is being received by “forced memory reception” (YES in stepSA400), the CPU 20 advances the control to step SA402. In other cases(NO in step SA400), the CPU 20 advances the control to step SA408.

In step SA402, the CPU 20 acquires the FAX number of the sender of theFAX document. In step SA404, by referring to the print history in theimage processing apparatus 1, the CPU 20 determines whether there is aninput record of an instruction for the printer 13 to print a FAXdocument received before from the FAX number acquired in step SA402.When determining that there is such a record (“print record available instep SA404), the CPU 20 returns the control to step SA400. Whendetermining that there is no such record (“no print record” in stepSA404), the CPU 20 advances the control to step SA406.

In step SA406, the CPU 20 cancels the process of receiving the FAXdocument.

In step SA408, the CPU 20 generates a snapshot of the RAM 22.

In step SA410, the CPU 20 stores the generated snapshot in thenonvolatile memory 23.

In the process of FIG. 21, if a FAX document is being received from asender having a print record, the CPU 20 generates a snapshot after thereception of the FAX document is completed. If a FAX document is beingreceived from a sender that has no print record, the CPU 20 can thereception of the FAX document and generates a snapshot. As a result,after the state return in step S24 (FIG. 10), the process of receivingthe FAX document is not resumed.

<Preparation for Transition (5)>

FIG. 22 is a diagram for explaining another example of an informationprocess executed by the image processing apparatus 1. The systemillustrated in FIG. 22 includes the image processing apparatus 1 havinga TSI allocation function and the FAX telephone 5. The “TSI allocationfunction” is a function of automatically allocating documents receivedby senders' FAXIDs (TSI) to destinations registered for the respectivesenders' IDs. Examples of registered destinations include apredetermined storage location (box) in the HDD 24, an electronic mailaddress, an FTP destination, an SMB destination, a WebDAV destination,and the like.

FIG. 23 is a diagram illustrating an example of a subroutine process ofstep S12 in FIG. 9. The process in FIG. 23 is executed, for example,when a condition for transition to the power saving mode is satisfiedduring the execution of the process by the TSI allocation function. Thedetails of this process will be described with reference to FIG. 23.

In step SA500, the CPU 20 determines whether the transfer of a FAXdocument by the TSI allocation function has been completed. If thetransfer has been completed (“reception allocation completed” in stepSA500), the CPU 20 advances the control to step SA506. If the transferhas not been completed yet (“reception allocation in progress” in stepSA500), the CPU 20 advances the control to step SA502.

In step SA502, the CPU 20 determines whether the untransferred FAXdocument includes a document with a high degree of urgency. In oneexample, if a character string indicating that the degree of urgency ishigh is detected by OCR for the FAX document, the CPU 20 determines thatthe FAX document is a document with a high degree of urgency. In anotherexample, if the sender of the FAX document is a predetermineddestination, the CPU 20 determines that the FAX document is a documentwith a high degree of urgency. When determining that the untransferredFAX document includes a document with a high degree of urgency (“high”in step SA502), the CPU 20 returns the control to step SA500. In othercases (“low” in step SA502), the CPU 20 advances the control to stepSA504.

In step SA504, the CPU 20 suspends the process by the TSI allocationfunction.

In step SA506, the CPU 20 generates a snapshot of the RAM 22.

In step SA508, the CPU 20 stores the generated snapshot in thenonvolatile memory 23. Thereafter, the CPU 20 returns the process toFIG. 9.

In the process of FIG. 23, the CPU 20 continues executing the processfor the TSI allocation function or suspends (interrupts) the process andgenerates a snapshot, depending on whether the degree of importance ofthe untransferred FAX document is high. In the example of FIG. 23, thedegree of urgency is adopted as an example degree of importance. Oncethe snapshot is used, transfer (transmission) of the untransferred FAXdocument is resumed in the TSI allocation function.

<Preparation for Transition (6)>

FIG. 24 is a diagram for explaining another example of an informationprocess executed by the image processing apparatus 1. The systemillustrated in FIG. 24 includes the image processing apparatus 1 and afile transfer protocol (FTP) server 6. In the example of FIG. 24, beforetransmitting a file (for example, image data) in the HDD 24 to the FTPserver 6, the image processing apparatus 1 executes a virus scan of thefile in the HDD 24. It should be noted that the image processingapparatus 1 is designed to skip the virus scan if a predetermined period(e.g., one year) has not passed since the last virus scan.

FIG. 25 is a record of a virus scan log in the TIDE) 24. The record isstored in the HDD 24, for example. In FIG. 25, “Box 1”, “Box 2”, “Box3”, and the like are illustrated as files storage areas in the HDD 21.More specifically, the record of FIG. 25 shows that the virus scan on“Job 3” (file generated or received by Job 3) in “Box 3” was executed onNov. 28, 2015, the virus scan on “Job 2” (file generated or received byJob 2) in “Box 2 was executed on Nov. 28, 2016, and “Job 1” (filegenerated or received by Job 1) in “Box 1” was executed on Nov. 28,2017.

When transmitting the file of “job 1” to the FTP server 6 on Apr. 1,2018, the CPU 20 transmits the file without executing the virus scan asone year has not passed since the virus scan on the file of “Job 1”.

When transmitting the file of “Job 2” to the FTP server 6 on Apr. 1,2018, as one year has passed since the virus scan on the file of “Job2”, the CPU 20 executes the virus scan. If there is no virus detected,the CPU 20 is allowed to transmit the file.

FIG. 26 is a diagram illustrating an example of a subroutine process ofstep S12 in FIG. 9. The details of this process will be described withreference to FIG. 26.

In step SA600, the CPU 20 determines whether the image processingapparatus 1 is executing a virus scan of the file to be transmitted tothe FTP server 6. When determining that the file is being scanned forviruses (YES in step SA600), the CPU 20 advances the control to stepSA602. In other cases (NO in step SA600), the CPU 20 advances thecontrol to step SA606.

In step SA602, the CPU 20 determines whether one year has passed sincethe date of the last virus scan on the file. If one year has passed(“predetermined time elapsed” in step SA602), the CPU 20 returns thecontrol to step SA600. In other cases “within predetermined time” instep SA602), the CPU 20 advances the control to step SA606.

In step SA604, the CPU 20 cancels the virus scan of the file.

In step SA606, the CPU 20 transmits the file to the FTP server 6.

In step SA608, the CPU 20 waits for completion of the transmission ofthe file to the FTP server 6, and advances the control to step SA610after completion.

In step SA610, the CPU 20 generates a snapshot of the RAM 22.

In step SA612, the CPU 20 stores the generated snapshot in thenonvolatile memory 23. Thereafter, the CPU 20 returns the process toFIG. 9.

<Preparation for Transition (7)>

FIG. 27 is a diagram for explaining another example of an informationprocess executed by the image processing apparatus 1. In the informationprocess of FIG. 27, the CPU 20 downloads FW to the FW download area 23Gof the nonvolatile memory 23. In one example, FW is downloaded from anFW management server 7. In another example, FW is downloaded from auniversal serial bus (USE) memory connected to the image processingapparatus 1.

The CPU 20 temporarily stores the downloaded FW in the FW download area23G. After the download is completed, the CPU 20 saves the FW in the HDD24. In the example of FIG. 27, as will be described with reference toFIG. 28, after the FW stored in the FW download area 23G is saved in theHDD 24 or if the FW download area 23G is not used, a snapshot of the RAM22 is saved in the FW download area 23G.

FIG. 28 is a diagram illustrating an example of a subroutine process ofstep S12 in FIG. 9. The process in FIG. 28 is executed when a conditionfor transition to the power saving mode is satisfied while FW is beingdownloaded. The details of this process will be described with referenceto FIG. 28.

In step SA700, the CPU 20 determines whether the image processingapparatus 1 is downloading FW. When determining that FW is beingdownloaded (YES in step SA700), the CPU 20 advances the control to stepSA702. In other cases (NO in step SA700), the CPU 20 advances thecontrol to step SA706.

In step SA702, the CPU 20 determines whether the remaining time of theFW download is within a predetermined time determined in advance. Whendetermining that the remaining time is within the predetermined time(“within predetermined time” in step SA702), the CPU 20 returns thecontrol to step SA700. In other cases (“exceed predetermined time” instep SA702), the CPU 20 advances the control to step SA704.

In step SA704, the CPU 20 cancels the FW download process. At this time,the CPU 20 may display, on the display 15, a message indicating that theFW download has been canceled.

In step SA706, the CPU 20 generates a snapshot of the RAM 22.

In step SA708, the CPU 20 stores the generated snapshot in thenonvolatile memory 23 (FW download area 23G). When FW is beingdownloaded, the CPU 20 saves the downloaded FW in the HDD 24, and thenstores the snapshot in the FW download area 23G. Thereafter, the CPU 20returns the process to FIG. 9.

In the process of FIG. 28 described above, when a condition fortransition to the power saving mode is satisfied while FW is beingdownload, the CPU 20 continues the download if the remaining time of thedownload is within the predetermined time, and cancels the download ifthe remaining time exceeds the predetermined time.

<Preparation for Transition (8)>

FIG. 29 is a diagram illustrating an example of a screen for acceptingthe setting of the priority order between information processcontinuation and snapshot generation. A screen 2900 in FIG. 29 is anexample of a screen displayed on the display 15 and includes buttons2901 and 2902 for inputting the setting of the priority order to beapplied when a condition for transition to the power saving mode issatisfied during the execution of an information process.

The button 2901 is used for giving priority to snapshot generation.After the button 2901 is operated for an information process, if acondition for transition to the power saving mode is satisfied duringthe execution of the information process, the information process issuspended, and a snapshot is generated. As a result, the time from theestablishment of the condition for transition to the power saving modeto the transition to the power saving mode is shortened.

The button 2902 is used for giving priority to information processcontinuation. After the button 2902 is operated for an informationprocess, if a condition for transition to the power saving, mode issatisfied during the execution of the information process, a snapshot isgenerated after the information process is finished. As a result, theinformation process is executed without being interrupted even when thecondition for transition to the power saving mode is satisfied.

As described above, the setting for giving priority to snapshotgeneration enables the image processing apparatus 1 to make thetransition to the power saving mode earlier than the setting for givingpriority to information process continuation. Therefore, it can be saidthat the setting for giving priority to snapshot generation increasesthe power saving performance.

The image processing apparatus 1 accepts the setting of the priorityorder as illustrated in FIG. 29 for each information process. Morespecifically, for example, the CPU 20 displays, on a setting screen, alist of information processes such as the image log process (FIG. 12),the forced memory reception process (FIG. 20), and the process by theTSI allocation function (FIG. 23). When the user selects an informationprocess from the list, the CPU 20 displays the screen 2900 associatedwith the selected information process and accepts the input for settingthe priority order.

FIG. 30 is a diagram illustrating an example of a subroutine process ofstep S12 in FIG. 9. The details of this process will be described withreference to FIG. 30.

In step SB100, the CPU 20 determines whether there is a running program(information process). When determining that there is a rimming program(YES in step SB100), the CPU 20 advances the control to step SB102. Inother cases (NO in step SB100), the CPU 20 advances the control to stepSB112.

In step SB102, the CPU 20 acquires the setting of the priority orderrelating to the miming program. The setting of the priority order ispreset on the screen as explained with reference to FIG. 29. Thecontents of the setting are stored in the HDD 24, for example.

In step SB104, the CPU 20 determines, based on the setting, whether therunning program has priority over snapshot generation. When determiningthat the running program has priority based on the setting (YES in stepSB104), the CPU 20 advances the control to step SB108. In other cases(NO in step SB104), the CPU 20 advances the control to step SB106.

In step SB106, the CPU 20 suspends the running program. For example, ifthe running program is the image log process (FIG. 12), the CPU 20suspends the image log process.

In step SB108, the CPU 20 continues the running program, and uponcompletion of the program being detected in step SB110, the CPU 20advances the control to step SB112.

In step SB112, the CPU 20 generates a snapshot of the RAM 22.

In step SB114, the CPU 20 stores the generated snapshot in thenonvolatile memory 23. Thereafter, the CPU 20 returns the process toFIG. 9.

<Preparation for Transition (9)>

Information processes executed by the image processing apparatus 1include a process executed in a system that implements ubiquitousprinting. FIG. 31 is a diagram illustrating an exemplary configurationof a system that implements ubiquitous printing.

The system illustrated in FIG. 31 includes a group 3110 (Group-A) and agroup 3120 (Group-B). The system illustrated in FIG. 31 includestopology manager machines (TM machines), which are not included in thesystem illustrated in FIG. 13, in addition to storage machines (STmachines) and client machines (CL machines). One TM machine is set foreach group to manage the configuration of each group and notify the TMmachine of the other group of the configuration in the group to whichthe TM machine belongs.

The group 3110 includes an image processing apparatus 1P as a TMmachine, image processing apparatuses 1Q and 1R as ST machines, andimage processing apparatuses 1S, 1T, and 1U as CL machines. The group3120 includes an image processing apparatus 1W as a TM machine, imageprocessing apparatuses 1X and 1Y as ST machines, and a image processingapparatus 1Z as a CL machine.

FIG. 32 is an example of information representing the configuration ofeach group. A list 3200 in FIG. 32 includes IP addresses and types (TMmachine, ST machine, and CL machine) of image processing apparatusesthat belong to each of Groups-A and B.

In the system of FIG. 31, an image processing apparatus acquires a listof files stored in each image processing apparatus of the group to whichthe image processing apparatus belongs, and displays the list of fileson the display 15. In one example, a TM machine acquires, from eachimage processing apparatus of the group to which the TM machine belongs,a list of files stored in the image processing apparatus. The TM machinedelivers the list of files to all the image processing apparatuses inthe group to which the TM machine belongs. For example, the imageprocessing apparatus 1S that belongs to Group-A displays, on the display15 of the image processing apparatus 1S, a list of files stored in allthe image processing apparatuses 1P, 1Q, 1R, 1S, 1T, 1U that belong toGroup-A.

FIG. 33 is a diagram illustrating a display example of a list of files.The list of files displayed on a screen 3300 in FIG. 33 includes thefile name “test page”.

FIG. 34 is a diagram illustrating an example of a file (document) outputflow in the ubiquitous printing system illustrated in FIG. 31. The userlogs in to the ST machine using the PC and instructs the ST machine tosave the document (steps SB210 and SB212). In response, the ST machinestores the document in the ST machine (step SB214).

Thereafter, the user logs into the CL machine in order to output thedocument from the CL machine (step SB220). The CL machine requests alist of documents from the ST machine (step SB222). In response, the STmachine transmits the list of documents to the CL machine. The CLmachine displays the list obtained from the ST machine.

The user selects the document from the list displayed on the CL machineand instructs the CL machine to output the document (step SB230). Inresponse, the CL machine requests the ST machine to transmit theselected document (step SB232). In response, the ST machine transmitsthe document to the CL machine. Thereafter, the CL machine outputs theselected document (step SB234).

(Transmission of Document from CL Machine to Backup Client Machine)

In the ubiquitous printing system illustrated in FIG. 31, a CL machineperiodically (and/or at a specified timing) transmits the documentssaved in the CL machine to another CL machine to use this CL machine asa backup client machine. For example, the image processing apparatus 1Tas a CL machine periodically transmits the documents saved in the imageprocessing apparatus 1T to the image processing apparatus 15 and theimage processing apparatus 1U. Consequently, the image processingapparatus 1T uses the image processing apparatus 1S and the imageprocessing apparatus 1U as backup client machines for the imageprocessing apparatus 1T.

FIG. 35 is a diagram illustrating an example of a subroutine process ofstep S12 in FIG. 9. The process in FIG. 35 is an example process that isperformed when a condition for transition to the power saving mode issatisfied while the CPU 20 of an ST machine is executing the process oftransmitting the documents in the ST machine to a backup cheat machine(document transmission program). The details of this process will bedescribed with reference to FIG. 35.

In step SB300, the CPU 20 determines whether the document identical tothe document to be transmitted by the image processing apparatus 1 isstored in the backup client machine. Each image processing apparatus 1contains a list of documents saved in another image processing apparatus1. In one example, the determination in step SB300 is implemented usingthe list. When determining that the document is stored in the backupclient machine (YES in step SB300), the CPU 20 advances the control tostep SB302. In other cases (NO in step SB300), the CPU 20 advances thecontrol to step SB304.

In step SB302, the CPU 20 suspends the document transmission program.

In step SB304, the CPU 20 continues the document transmission program,and upon completion of the document transmission program being detectedin step SB306, the CPU 20 advances the control to step SB308.

In step SB308, the CPU 20 generates a snapshot of the RAM 22.

In step SB310, the CPU 20 stores the generated snapshot in thenonvolatile memory 23. Thereafter, the CPU 20 returns the process toFIG. 9.

In the process of FIG. 35 described above, when a condition fortransition to the power saving mode is satisfied during the execution ofthe document transmission program, if the document identical to thedocument to be transmitted is stored in the backup client machine, thedocument transmission program is suspended. The suspended documenttransmission program is resumed in step S28 (FIG. 10) after returningfrom the power saving mode.

(Distribution of Group Configuration List by TM Machine)

In the system of FIG. 31, a TM machine generates a group configurationlist as illustrated in FIG. 32 and distributes it to each imageprocessing apparatus in the group. In this system, in order toparticipate in a group, an image processing apparatus transmits aparticipation request to the TM machine. Upon receipt of theparticipation request as an ST machine or a CL machine from the imageprocessing apparatus, the TM machine updates the group configurationlist so as to add the image processing apparatus that has output theparticipation request, and distributes the updated group configurationlist to each device in the group.

FIG. 36 is a diagram illustrating an example of a subroutine process ofstep S12 in FIG. 9. The process in FIG. 36 is executed by the CPU 20 ofthe image processing apparatus 1 which is a TM machine. The details ofthis process will be described with reference to FIG. 36.

In step SB400, the CPU 20 determines whether a participation request forthe group has been received from an ST machine or a CL machine. Whendetermining that a participation request has been received (YES in stepSB400), the CPU 20 advances the control to step SB402. In other cases(NO in step SB400), the CPU 20 advances the control to step SB406.

In step SB402, the CPU 20 updates the group configuration list so as toadd the ST machine or the CL machine that has transmitted theparticipation request.

In step SB404, the CPU 20 distributes the updated group configurationlist. Destinations of distribution are the ST machines and the CLmachines in the group to which the TM machine equipped with the CPU 20belongs, and the TM machine of another group.

In step SB406, the CPU 20 generates a snapshot of the RAM 22.

In step SB408, the CPU 20 stores the generated snapshot in thenonvolatile memory 23. Thereafter, the CPU 20 returns the process toFIG. 9.

In the process of FIG. 36 described above, the TM machine that managesthe other devices (ST machines and CL machines) in the group givespriority to the distribution of the group configuration list oversnapshot generation if a condition for transition to the power savingmode is satisfied during the process of distributing the groupconfiguration list. As a result, the TM machine makes the transition tothe power saving mode after the distribution of the group configurationlist is completed.

(Reception of Group Configuration List by ST Machine or CL Machine)

FIG. 37 is a diagram illustrating an example of a subroutine process ofstep S12 in FIG. 9. The process in FIG. 37 is executed by the CPU 20 ofthe image processing apparatus 1 which is an ST machine or a CL machine.The details of this process will be described with reference to FIG. 37.

In step SB500, the CPU 20 determines whether the image processingapparatus 1 is currently receiving the group configuration list from theTM machine. When determining that the group configuration list is beingreceived (YES in step SB500), the CPU 20 advances the control to stepSB502. In other cases (NO in step SB500), the CPU 20 advances thecontrol to step SB504.

In step SB502, the CPU 20 suspends the process of receiving the groupconfiguration list.

In step SB504, the CPU 20 generates a snapshot of the RAM 22.

In step SB506, the CPU 20 stores the generated snapshot in thenonvolatile memory 23. Thereafter, the CPU 20 returns the process toFIG. 9.

In the process of FIG. 37 described above, if a condition for transitionto the power saving mode is satisfied while the group configuration listis being received from the TM machine, snapshot generation is givenpriority over the group configuration list. After returning from thepower saving mode, the reception of the group configuration list isresumed (step S28 in FIG. 10). At the time of resuming the reception,the CPU 20 may request the TM machine to retransmit the groupconfiguration list.

<Preparation for Transition (10)>

FIG. 38 is a diagram illustrating an example of a system in which theimage processing apparatus 1 is used. The system of FIG. 38 includes theimage processing apparatus 1, a data server 8, and an analysis server 9.In the image processing apparatus 1, the scanner 12 and the printer 13constitute an example of an image processing unit that executes an imageprocessing operation.

The image processing apparatus 1 transmits data relating to the degreeof exhaustion of the image processing unit, for example, periodically(and/or at a specified timing) to the data server 8. The data server 8transfers the data to the analysis server 9. The analysis server 9 usesthe data to predict the time for replacement of an element constitutingthe image processing unit. The prediction result is sent to a servicecenter. The service center dispatches a worker 100 to the place wherethe image processing apparatus 1 is located (e.g., office) for the taskof exchanging the element at the predicted time for replacement. Theanalysis server 9 may notify the image processing apparatus 1 of thetime for replacement which is the prediction result once the predictionof the time for replacement of an element of the image processingapparatus 1 is completed.

An example of an element to be replaced is a toner unit used by theprinter 13. In this case, the image processing apparatus 1 transmits, tothe data server 8, the sum of coverages (printing rates) in the sheetsprinted by the printer 13 as an example of data relating to the degreeof exhaustion of the image processing unit. The analysis server 9predicts the time for replacement of the toner unit, for example, usingthe sum of coverages and the length of the period corresponding to thesum.

Another example of an element to be replaced is an intermediate transferbelt unit of the printer 13. In this case, examples of data relating tothe degree of exhaustion of the image processing unit include therotation distance of the intermediate transfer belt, the amount of toneradhesion to the intermediate transfer belt (printing rate of the tonerimage formed on the intermediate transfer belt), and/or the operatingtime of the printer 13. The analysis server 9 predicts the time forreplacement of the intermediate transfer belt using, for example, thesedata and the length of the period corresponding to these data.

FIG. 39 is a diagram illustrating an example of a subroutine process ofstep S12 in FIG. 9. The process in FIG. 39 is executed, for example,when a condition for transition to the power saving mode is satisfiedwhile the image processing apparatus 1 is transmitting data relating tothe degree of exhaustion of the image processing unit to the data server8. The details of this process will be described with reference to FIG.39.

In step SB600, the CPU 20 determines whether the prediction of the timefor replacement is fixed for all the elements of the image processingunit whose time for replacement can be predicted. The CPU 20 implementsthe determination in step SB600, for example, by determining whether thetime for replacement of each element has been sent from the analysisserver 9. When determining that the prediction of the time forreplacement of all the elements is fixed (YES in step SB600), the CPU 20advances the control to step SB604. In other cases (NO in step SB600),the CPU 20 advances the control to step SB602.

In step SB602, the CPU 20 suspends the process (data transmissionprocess) of acquiring and transmitting data relating to the degree ofexhaustion of the image processing unit. The data transmission processincludes the acquisition of the above data and the transmission of thedata to the data server 8. The acquisition of the data may include thecalculation of a numerical value such as the sum of coverages associatedwith toner.

In step SB604, the CPU 20 continues the data transmission process, andupon completion of the data transmission process being detected in stepSB606, the CPU 20 advances the control to step SB608.

In step SB608, the CPU 20 generates a snapshot of the RAM 22.

In step SB610, the CPU 20 stores the generated snapshot in thenonvolatile memory 23. Thereafter, the CPU 20 returns the process toFIG. 9.

In the process of FIG. 39 described above, if the time for replacementof the image processing unit is not fixed when a condition fortransition to the power saving mode is satisfied during the execution ofthe data transmission process, the execution of the data transmissionprocess is given priority over snapshot generation. If the time forreplacement of the image processing unit is fixed, the data transmissionprocess is suspended, and a snapshot is generated and stored in thenonvolatile memory 23. The suspended data transmission process isresumed at step S28 (FIG. 10).

<Preparation for Transition (11)>

FIG. 40 is a diagram illustrating an exemplary configuration of a systemin which the image processing apparatus is used. The system in FIG. 40includes a delivery server 100X, a relay machine (image processingapparatus 1J), slave machines (image processing apparatuses 1K and 1L),and user terminals (PCs 100A and 100B). In the system of FIG. 40,various data are delivered from the delivery server 100X to the imageprocessing apparatus 1J across the firewall. The data to be deliveredare, for example, FW data, a printer driver program, an applicationprogram, and/or a user manual. The image processing apparatus 1Jdistributes the delivered data to the slave machines (image processingapparatuses 1K and 1L). The user terminals (PCs 100A and 100B) acquiredata such as printer drivers from the slave machines (image processingapparatuses 1K and 1L).

In the system of FIG. 40, if a condition for transition to the powersaving mode is satisfied while the data delivered by the delivery server100X are being received, the image processing apparatus 1 functioning asa master machine gives priority to the reception of the data oversnapshot generation/storage. If a condition for transition to the powersaving mode is satisfied while data are being received from the mastermachine, the image processing apparatus 1 functioning as a slave machinegives priority to snapshot generation/storage over the reception of thedata.

FIG. 41 is a diagram illustrating an example of a subroutine process ofstep S12 in FIG. 9. The process in FIG. 41 is executed by the CPU 20 ofan image processing apparatus of the system of FIG. 40 in which acondition for transition to the power saving mode is satisfied whiledata are being received. The details of this process will be describedwith reference to FIG. 41.

In step SC100, the CPU 20 determines whether the image processingapparatus 1 equipped with the CPU 20 is a master machine. Whendetermining that the image processing apparatus 1 is a master machine(YES in step SC100), the CPU 20 advances the control to step SC104. Inother cases (NO in step SC100), the CPU 20 advances the control to stepSC102.

In step SC102, the CPU 20 suspends the reception process (delivered datareception program).

In step SC104, the CPU 20 continues the reception process, and uponcompletion of the reception process being detected in step SC106, theCPU 20 advances the control to step SC108.

In step SC108, the CPU 20 generates a snapshot of the RAM 22.

In step SC110, the CPU 20 stores the generated snapshot in thenonvolatile memory 23. Thereafter, the CPU 20 returns the process toFIG. 9.

<Preparation for Transition (12)>

The image processing apparatus 1 may be connected to a charging serverthat calculates the user charge according to the number of printedsheets. In this case, the image processing apparatus 1 includes acounter for counting the number of printed sheets output from theprinter 13, and transmits the count value of the counter to the chargingsewer. The count value may be transmitted each time the printer 13executes a print operation (print job), may be transmitted at regularintervals, or may be transmitted when an operation for transmission isperformed on the operation pail 18.

FIG. 42 is a diagram illustrating an example of a subroutine process ofstep S12 in FIG. 9. The process in FIG. 42 is executed by the CPU 20 ofan image processing apparatus in which a condition for transition to thepower saving mode is satisfied while the count value is beingtransmitted to the charging server. The details of this process will bedescribed with reference to FIG. 42.

In step SC200, the CPU 20 determines whether there is a differencebetween the count value to be transmitted and the previously transmittedcount value. The HDD 24 of the CPU 20 may contain a transmission log ofcount values. The determination in step SC200 is implemented, forexample, by comparing the previously transmitted count value recorded inthe transmission log with the count value to be transmitted. If there isa difference between the two count values (YES in step SC200), the CPU20 advances the control to step SC204. In other cases (NO in stepSC200), the CPU 20 advances the control to step SC202.

In step SC202, the CPU 20 suspends the process of transmitting the countvalue (count transmission program).

In step SC204, the CPU 20 continues the process of transmitting thecount value, and upon completion of the process being detected in stepSC206, the CPU 20 advances the control to step SC208.

In step SC208, the CPU 20 generates a snapshot of the RAM 22.

In step SC210, the CPU 20 stores the generated snapshot in thenonvolatile memory 23. Thereafter, the CPU 20 returns the process toFIG. 9.

In the process of FIG. 42, if there is a difference between the countvalue to be transmitted and the previously transmitted count value, thetransmission of the count value is given priority over snapshotgeneration/transmission. If there is no difference between the countvalue to be transmitted and the previously transmitted count value, thetransmission of the count value is suspended, and snapshotgeneration/transmission is given priority over the transmission of thecount value. The suspended transmission of the count value is resumed instep S28 (FIG. 10).

According to an embodiment of the present disclosure, a snapshot isstored in an area having a use other than snapshot storage. Thus, thereis no need to set an area dedicated to snapshots in the nonvolatilestorage device, and the storage capacity required by the nonvolatilestorage device can be reduced, so that an increase in the cost ofmanufacturing the image processing apparatus can be avoided.

Although embodiments of the present invention have been described andillustrated in detail, the disclosed embodiments are made for purposesof illustration and example only and not limitation. The scope of thepresent invention should be interpreted by terms of the appended claims,and it is intended that all modifications within the meaning and scopeequivalent to the scope of claims are included. It is intended that theinventions described in the embodiment and each modification areimplemented either independently or in combination if possible.

What is claimed is:
 1. An image processing apparatus comprising: avolatile storage device; a hardware processor that executes aninformation process using the volatile storage device; and a nonvolatilestorage device that stores data to be used for the information process,wherein in response to a condition that makes it impossible to continuethe information process being satisfied while the information process isbeing executed, the hardware processor generates a snapshot of thevolatile storage device and stores the snapshot in an area of thenonvolatile storage device having a use other than snapshot storage, inresponse to a condition that makes it possible to resume the informationprocess being satisfied, the hardware processor reads the snapshot fromthe nonvolatile storage device and resumes the information process, whenthe information process is a process of dividing and transmitting imagedata of a plurality of pages on a page basis, the hardware processorgenerates the snapshot after transmitting image data of any of theplurality of pages, and when the information process is a process ofcollectively transmitting the image data of the plurality of pages, thehardware processor generates the snapshot after transmitting the imagedata of the plurality of pages.
 2. The image processing apparatusaccording to claim 1, wherein in response to a condition that makes itimpossible to continue the information process being satisfied while theinformation process is being executed, the hardware processor generatesthe snapshot after stopping or interrupting the information process. 3.The image processing apparatus according to claim 1, wherein the areafor storing data to be used for the information process includes an areafor storing image data.
 4. The image processing apparatus according toclaim 3, wherein in the area for storing image data, the hardwareprocessor sets a partition for an area for storing the snapshot, andstores the snapshot in the partition.
 5. The image processing apparatusaccording to claim 3, wherein when there is a continuous empty area witha size equal to or larger than a size of the snapshot in the area forstoring image data, the hardware processor stores the snapshot in theempty area.
 6. The image processing apparatus according to claim 3,wherein in response to a condition that makes it impossible to continuethe information process being satisfied while the information process isbeing executed, the hardware processor generates the snapshot after acontinuous empty area with a size equal to or larger than a size of thesnapshot occurs in the area for storing image data.
 7. The imageprocessing apparatus according to claim 1, wherein the nonvolatilestorage device has a plurality of areas for storing data to be used forthe information process, and the hardware processor divides the snapshotinto a plurality of files and stores each of the plurality of files inone of the plurality of areas in the nonvolatile storage device.
 8. Theimage processing apparatus according to claim 1, wherein the informationprocess includes generation and transmission of image data, and when thetransmission is not being performed in the information process, thehardware processor generates the snapshot of the volatile storagedevice.
 9. The image processing apparatus according to claim 1, whereinthe information process includes a process of transmitting image data toan external device, and in response to a condition that makes itimpossible to continue the information process being satisfied while theinformation process is being executed: when the external device containsimage data to be transmitted, the hardware processor stops theinformation process and generates the snapshot; and when the externaldevice does not contain image data to be transmitted, the hardwareprocessor generates the snapshot after the information process iscompleted.
 10. An image processing apparatus comprising: a volatilestorage device; a hardware processor that executes an informationprocess using the volatile storage device; and a nonvolatile storagedevice that stores data to be used for the information process, whereinin response to a condition that makes it impossible to continue theinformation process being satisfied while the information process isbeing executed, the hardware processor generates a snapshot of thevolatile storage device and stores the snapshot in an area of thenonvolatile storage device having a use other than snapshot storage, inresponse to a condition that makes it possible to resume the informationprocess being satisfied, the hardware processor reads the snapshot fromthe nonvolatile storage device and resumes the information process, theinformation process includes a process of transmitting image data to anexternal device in a network, and in response to a condition that makesit impossible to continue the information process being satisfied whilethe information process is being executed: when a different device inthe network contains image data to be transmitted, the hardwareprocessor requests the different device to transmit, to the externaldevice, the image data to be transmitted, stops the information process,and generates the snapshot; and when a different device in the networkdoes not contain image data to be transmitted, the hardware processorgenerates the snapshot after the information process is completed. 11.The image processing apparatus according to claim 1, wherein in responseto a condition that makes it impossible to continue the informationprocess being satisfied while the information process is being executed,when the information process is expected to be completed within a giventime, the hardware processor generates the snapshot after theinformation process is completed.
 12. The image processing apparatusaccording to claim 1, wherein the information process includes a processof transmitting a fax document, when a degree of importance of a faxdocument to be transmitted is low, the hardware processor interrupts theinformation process and generates the snapshot, and when a degree ofimportance of a fax document to be transmitted is high, the hardwareprocessor generates the snapshot after the information process iscompleted.
 13. The image processing apparatus according to claim 1,wherein the hardware processor determines a degree of priority of theinformation process using at least one of information acquired as aresult of character recognition on a fax document to be transmitted andinformation on a destination of a fax document to be transmitted.
 14. Animage processing apparatus comprising: a volatile storage device; ahardware processor that executes an information process using thevolatile storage device; and a nonvolatile storage device that storesdata to be used for the information process, wherein in response to acondition that makes it impossible to continue the information processbeing satisfied while the information process is being executed, thehardware processor generates a snapshot of the volatile storage deviceand stores the snapshot in an area of the nonvolatile storage devicehaving a use other than snapshot storage, in response to a conditionthat makes it possible to resume the information process beingsatisfied, the hardware processor reads the snapshot from thenonvolatile storage device and resumes the information process, theinformation process includes a process of receiving a fax document, andthe hardware processor: determines a degree of priority of theinformation process using at least one of information acquired as aresult of character recognition on a fax document being received andinformation on a sender of a fax document being received; generates thesnapshot after the information process is completed when the degree ofpriority of the information process is high; and interrupts theinformation process and generates the snapshot when the degree ofpriority of the information process is low.
 15. The image processingapparatus according to claim 1, wherein the information process is aprocess of receiving a fax document, the image processing apparatusfurther includes an interface that accepts an instruction to print thefax document received, and the hardware processor: interrupts theinformation process and generates the snapshot when the interface hasaccepted before an instruction to print a fax document received from asender of a fax document being received; and generates the snapshotafter the information process is completed when the interface has notaccepted before an instruction to print a fax document received from asender of a fax document being received.
 16. The image processingapparatus according to claim 1, wherein the information process is avirus scan of the nonvolatile storage device, and the hardwareprocessor: stops the information process and generates the snapshot whena time interval between a running virus scan and a last virus scan isequal to or less than a given period; and generates the snapshot afterthe information process is completed when a time interval between arunning virus scan and a last virus scan exceeds the given period. 17.The image processing apparatus according to claim 10, wherein the areafor storing data to be used for the information process includes an areafor storing image data.
 18. The image processing apparatus according toclaim 14, wherein the area for storing data to be used for theinformation process includes an area for storing image data.